**********************************************************
*** README FOR PATEL, SANDEFUR, AND SUBRAMANIAN 2021 *****
**********************************************************

This file describes the replication materials for Patel, Sandefur, and Subramanian 2021.

*** Raw data
There are three raw datasets.
- pwt100.dta: This is the PWT version 10.0, which can be downloaded from https://www.rug.nl/ggdc/productivity/pwt/.
- wdi_0920_data.csv: This is the WDI, which can be downloaded from http://databank.worldbank.org/data/source/world-development-indicators
- mpd2020.dta: This is the Maddison data, which can be downloaded from: https://www.rug.nl/ggdc/historicaldevelopment/maddison/

*** Code
All analysis was conducted using STATA 16. The .do file "00 Master File" will run all code and produce all graphs and tables in the paper. After placing the three raw datasets in an input folder, the code in a code folder, and updating the corresponding working directories in lines 8 - 19, simply running the 00 Master File lines 23-31 will run all the code. There are some user-written STATA commands used that can all be installed via ssc, such as the kountry command.

There are 9 .do files that run the analysis.
01 Prepare Data.do -- this do file cleans the raw GDP data and combines it.
02 Regressions.do -- this do file runs the main convergence regressions
03 Graphs - Main Figure.do -- This do file creates Figure 1 and the corresponding fixed sample equivalent
03 Graphs - Pyramid.do -- This do file creates the "pyramid" graph plotting convergence coefficients from different start and end years
03 Graphs - Scatter.do -- This do file creates the scatter plot of growth and initial income for two time periods
03 Graphs - Triptych.do -- This do file creates the panel of three graphs describing the growth distribution, persistence, and volatility
03 Graphs - Sigma.do -- This do file creates the sigma convergence plots
03 Graphs - DFBETA.do -- This do file creates the plot showing convergence regressions with and without regions
03 Graphs - Middle Income Chart.do -- This do file creates the plot of middle income dummies in the unconditional convergence regressions. 
03 Graphs - Other Specifications.do -- This do file estimates and creates the plots for the OLS beta-convergence coefficients and the stacked regressions. 
04 Tables.do -- This do file creates the table showing summary statistics by income group and decade
